const SQL_TYPES = {
    tinyint: {
        type: 'integer',
        format: 'int32'
    },
    smallint: {
        type: 'integer',
        format: 'int32'
    },
    mediumint: {
        type: 'integer',
        format: 'int32'
    },
    int: {
        type: 'integer',
        format: 'int32'
    },
    integer: {
        type: 'integer',
        format: 'int32'
    },
    bigint: {
        type: 'integer',
        format: 'int64'
    },
    decimal: {
        type: 'integer',
        format: 'int64'
    },
    float: {
        type: 'number',
        format: 'float'
    },
    double: {
        type: 'number',
        format: 'double'
    },
    date: {
        type: 'string',
        format: 'date'
    },
    time: {
        type: 'string',
        format: 'date-time'
    },
    year: {
        type: 'string',
        format: 'date-time'
    },
    datetime: {
        type: 'string',
        format: 'date-time'
    },
    timestamp: {
        type: 'string',
        format: 'date-time'
    },
    char: {
        type: 'string'
    },
    varchar: {
        type: 'string'
    },
    tinyblob: {
        type: 'string'
    },
    tinytext: {
        type: 'string'
    },
    blob: {
        type: 'string'
    },
    text: {
        type: 'string'
    },
    mediumblob: {
        type: 'string'
    },
    mediumtext: {
        type: 'string'
    },
    longblob: {
        type: 'string'
    },
    longtext: {
        type: 'string'
    }
};

module.exports ={
    SQL_TYPES: Object.freeze(SQL_TYPES)
}
